package com.nbicc.newscat.mapper;

import com.nbicc.news.po.NewsInfo;
import com.nbicc.newscat.po.NewsCat;
import com.nbicc.parent.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

public interface NewsCatMapper extends BaseMapper<NewsCat> {

    List<NewsInfo> listNewsInfoByCatId(Map<String, Object> data);

    long countNews(Map<String, Object> parms);
}
